
import React from 'react'
import { Layout, Breadcrumb,theme} from 'antd';
import {Outlet} from 'react-router-dom'
import ums from '../../../apis/ums';
const { Content } = Layout;
export default function myConents() {
  if (localStorage.token) {
    ums.getUserInfo().then(res=>{
    })
  }
  const {
    token: { colorBgContainer },
} = theme.useToken();
  return (
    <Layout
    style={{
        padding: '0 24px 24px',
    }}
>
<Breadcrumb
           style={{
            padding: '16px 0 0',
          }}
           items={[
      {
        title: '首页',
      },
      {
        title: <a href="">个人中心</a>,
      }
    ]}
  />
    <Content
        style={{
            padding: 24,
            margin: 0,
            minHeight: 280,
            background: colorBgContainer,
        }}
    >
        <Outlet/>
        
    </Content>
</Layout>
  )
}
